package com.tjtt.tdm.system.service;

import java.io.IOException;
import java.util.Map;

import com.tjtt.tdm.base.PageResult;
import com.tjtt.tdm.exception.ServiceException;
import com.tjtt.tdm.system.bean.SysCerify;

public interface CerifyService {
	/**
	 * 查询所有证书
	 * @throws Exception
	 */
	public PageResult querycerifyInfo(Map<String, String> filterMap,String userid);
	/**
	 * 删除证书
	 * @throws IOException
	 * @throws ServiceException void
	 * @author 
	 * @date
	 */
	public void deleteCerity(String ids);
	
	/**
	 * 保存用户里证书的信息
	 * @return
	 * @throws IOException
	 * @throws ServiceException
	 */
	public void saveCerify(SysCerify sysCerify) throws ServiceException ;

	public SysCerify findSysCerifyById(long id);
	/**
	 * 修改用户里证书的信息
	 * @return
	 * @throws IOException
	 * @throws ServiceException
	 */
	public void updateCerify(SysCerify sysCerify) throws ServiceException ;
	public SysCerify checkOneCerifyById(Long id);
}
